package com.nanhai.buddhist.college.module.study.controller.admin.classclockrecord.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author AKai
 * @date 2022/9/14
 */
@Data
public class ScanCodeClockReqVO {

    @ApiModelProperty(value = "打卡人id ，学生身份下传学生id，教师身份下传教师id")
    @NotBlank(message = "打卡人id不能为空")
    private String clockUserId;

    @ApiModelProperty(value = "打卡类型",hidden = true)
    private String clockType;

    @ApiModelProperty(value = "打卡角色",hidden = true)
    private Integer clockRole;

    @ApiModelProperty(value = "课程二维码 字符串")
    @NotBlank(message = "课程二维码字符串，不能为空")
    private String qrCoedStr;
}
